package com.htgd.gardenexpo.page;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.htgd.gardenexpo.entity.PageQuery;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
public class SceneQuery  extends PageQuery {
    @ApiModelProperty(value = "标题")
    private String title;

    @ApiModelProperty(value = "内容")
    private String content;

    @ApiModelProperty(value = "缩略图")
    private String thumbnail;

    @ApiModelProperty(value = "关键字")
    private String keywords;

    @JsonFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "创建时间")
    private Date createtime;

    @JsonFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "发布时间")
    private Date releasetime;

    @JsonFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "审核时间")
    private Date authtime;

    @ApiModelProperty(value = "点击量")
    private Integer hit;

    @ApiModelProperty(value = "描述")
    private String description;

    @ApiModelProperty(value = "素材类型")
    private Integer materialTypeId;

    @ApiModelProperty(value = "素材地址")
    private String pathUrl;

    @ApiModelProperty(value = "创建者id")
    private Integer createUserId;

    @ApiModelProperty(value = "作者")
    private String createUser;

    @ApiModelProperty(value = "审核人员id")
    private Integer authUserId;

    @ApiModelProperty(value = "审核者")
    private String authUser;


    @ApiModelProperty(value = "显示状态  0.隐藏 1.显示")
    private Integer isDisplay;

    @ApiModelProperty(value = "编辑人id")
    private Integer editorId;

    @ApiModelProperty(value = "编辑人")
    private String editorName;

    @ApiModelProperty(value = "发布人id")
    private Integer publisherId;

    @ApiModelProperty(value = "发布人id")
    private String publisherName;

    @ApiModelProperty(value = "是否推荐('0':否，'1':是)")
    private String recommendType;

    private String startTime;
    private String endTime;
}
